<?php

namespace sample\controller;

use pmvc\mvc\controller\BaseController;
use pmvc\mvc\ModelAndView;
use pmvc\mvc\Dispatcher;
use pmvc\mvc\Model;

class WhatController
	extends BaseController {

	public function handleRequest(Model $model, Dispatcher $dispatcher) {
		$model->merge(Array(
        	"question" 	=> "What are you?"
		));
		return parent::getDefaultViewName();
	}
}

?>
